
package com.submaxim_testdb.data;

import java.io.Serializable;


/**
 *  submaxim_testDB.SndsStatusId
 *  11/10/2011 17:39:29
 * 
 */
public class SndsStatusId
    implements Serializable
{

    private String date;
    private Integer status;

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof SndsStatusId)) {
            return false;
        }
        SndsStatusId other = ((SndsStatusId) o);
        if (this.date == null) {
            if (other.date!= null) {
                return false;
            }
        } else {
            if (!this.date.equals(other.date)) {
                return false;
            }
        }
        if (this.status == null) {
            if (other.status!= null) {
                return false;
            }
        } else {
            if (!this.status.equals(other.status)) {
                return false;
            }
        }
        return true;
    }

    public int hashCode() {
        int rtn = 17;
        rtn = (rtn* 37);
        if (this.date!= null) {
            rtn = (rtn + this.date.hashCode());
        }
        rtn = (rtn* 37);
        if (this.status!= null) {
            rtn = (rtn + this.status.hashCode());
        }
        return rtn;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}
